<!---
@自动生成 BY Kupe框架 www.kupebank.com
#date : 2018-03-03 10:26:11
#path : app/template/admin/user.changepassword.html
--->
<!---
@自动生成 BY Kupe框架 www.kupebank.com
#date : 2018-03-02 11:43:48
#path : app/template/admin/user.edit.html
--->

<style>
.__status__{
	display:none;
}
</style>
<form class="layui-form" action="" style="padding:10px;width:450px;">
  <div class="layui-form-item">
    <label class="layui-form-label">用户名</label>
    <label class="layui-form-label ">{$rt.login}</label>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">姓名</label>
    <div class="layui-input-block">
      <input type="text" name="name"   lay-verify="" placeholder="请输入姓名" autocomplete="off" class="layui-input">
    </div>
  </div>

 <div class="layui-form-item">
    <label class="layui-form-label">旧密码</label>
    <div class="layui-input-block">
      <input type="password" name="old_password"   lay-verify="" placeholder="请输入旧密码" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">新密码</label>
    <div class="layui-input-block">
      <input type="password" name="password"   lay-verify="" placeholder="请输入新密码" autocomplete="off" class="layui-input">
    </div>
  </div>


   <div class="layui-form-item">
    <label class="layui-form-label">所在分组</label>
	 <label class="layui-form-label"> {$rt.group_id}</label>
   
  </div>

  

  <div class="layui-form-item">
    <label class="layui-form-label">联系电话</label>
    <div class="layui-input-block">
      <input type="text" name="phone" value=""   lay-verify="" placeholder="请输入联系电话" autocomplete="off" class="layui-input">
    </div>
  </div> <div class="layui-form-item">
    <label class="layui-form-label">联系手机</label>
    <div class="layui-input-block">
      <input type="text" name="mobile" value=""   lay-verify="" placeholder="请输入联系手机" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">QQ微信</label>
    <div class="layui-input-block">
      <input type="text" name="qq" value=""   lay-verify="" placeholder="请输入QQ微信" autocomplete="off" class="layui-input">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">联系地址</label>
    <div class="layui-input-block">
      <input type="text" name="address" value=""   lay-verify="" placeholder="请输入联系地址" autocomplete="off" class="layui-input">
    </div>
  </div>





  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>

  <input type="hidden" value="" name="id">
</form>
 
<script>
/*formSubmit('{_url m="doedit"}','formDemo','comfirm:{_url m="index"}');*/
formSubmit('{_url m="dochangepassword"}','formDemo','reload');
</script>

<script>
/*编辑专用*/
$(function(){
	{foreach $rt as $k => $v}
		{if $k != 'status'}
		$("input[name='{$k}']").val("{$v}");
		{/if}
	{/foreach}	
	$('[name="login"]').attr('disabled',true);
	//$("input[name='status']").val("1");
});
</script>